home *** CD-ROM | disk | FTP | other *** search
- Short: V1.0 example.library in 100% C code
- Author: Dirk Stoecker, Andreas R. Kleinert, lots of other people
- Uploader: stoecker@amigaworld.com (Dirk Stoecker)
- Type: dev/c
-
- example.library V1.0 (25.06.2000)
- An Amiga shared library in 100 % C language - coming with sources.
-
- Supported and tested compilers:
- SAS/C 6.5x, MaxonC 3.x, MaxonCPP 4.x, StormC 3.x, GCC 2.7.2.1,
- vbcc 0.7
-
- This example library code is partly based on CLib37x by Andreas R. Kleinert.
- The main stuff comes from my own library startup code developed for
- xpkmaster.library and xadmaster.library.
-
- I decide to release my own code to show a somewhat different method.
- Some of the texts are taken from Andreas release. Best is to check both
- ways and choose the one you like most (or mix them :-).
-
- Thanks must go to: Andreas R. Kleinert for the initial idea in 1996.
- Gunter Nikl for developing the main SDI_compiler.h stuff and for telling
- me lots of improvements and bug fixes. All the others contributing to
- Andreas release.
-
- This sample library intends to make Amiga shared library sources compileable
- with any available Amiga C compiler - without any changes to the source code.
-
- This seams to be easily done: nearly any noticeable compiler for the Amiga
- does support generation of libraries by special linker commands and pre-
- generated object files.
-
- But when looking into the details, one will find out, that these linker
- functionality just reduces the influence of the programmer on how his sources
- are handled, that the pre-generated object files just originally were done
- in Assembler, and that each compiler does define its own interface definitions
- and usage rules.
-
- But as a programmer, it is important to have control over the _complete_
- source code and to be able to compile it _anywhere_ with only minor changes,
- even better without any changes.
-
- Since most Amiga system modules - noticeable Libraries, Devices and Resources -
- do have startup-modules and other larger parts completely written in Assembler
- language, the most important task for getting inter-compiler and operating
- system independant sources in my opinion is, to completely migrate the
- interfaces to C language.
-
- If you can submit adjustments for the other compilers as mentioned above: feel
- free to send these. Feel free to use this source for own projects.
-
- History:
- 1.0 first version, Made with help of CLib by Andreas Kleinert and my
- library code used in xadmaster.library.
-
- Please contact me:
-
- ************************************************************************
- * snail-mail: * e-mail: *
- * Dirk Stoecker * stoecker@amigaworld.com *
- * Geschwister-Scholl-Str. 10 * dstoecker@gmx.de *
- * 01877 Bischofswerda * world wide web: *
- * GERMANY * http://home.pages.de/~stoecker/ *
- * phone: * pgp key: *
- * GERMANY +49 (0)3594/706666 * get with finger or from WWW pages *
- ************************************************************************
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 2146 1523 29.0% 25-Jun-00 18:36:44 CLib-SDI.info
- 3123 1413 54.7% 25-Jun-00 18:36:44 +CLib-SDI.readme
- 477 240 49.6% 25-Jun-00 18:36:44 +example_protos.h
- 185 134 27.5% 25-Jun-00 18:36:44 +example_lib.fd
- 750 308 58.9% 25-Jun-00 18:36:44 +example.h
- 682 270 60.4% 25-Jun-00 18:36:44 +example_protos.h
- 450 265 41.1% 25-Jun-00 18:36:44 +example.h
- 827 431 47.8% 25-Jun-00 18:36:44 +NOTE
- 729 295 59.5% 25-Jun-00 18:36:44 +example_lib.h
- 448 220 50.8% 25-Jun-00 18:36:44 +example.h
- 21907 4434 79.7% 25-Jun-00 18:36:44 +dos.h
- 30125 5336 82.2% 25-Jun-00 18:36:44 +dos_protos.h
- 14711 2961 79.8% 25-Jun-00 18:36:44 +exec.h
- 21051 3647 82.6% 25-Jun-00 18:36:44 +exec_protos.h
- 21821 4119 81.1% 25-Jun-00 18:36:44 +intuition.h
- 29003 4897 83.1% 25-Jun-00 18:36:44 +intuition_protos.h
- 17952 3222 82.0% 25-Jun-00 18:36:44 +dos_lib.h
- 12305 2246 81.7% 25-Jun-00 18:36:44 +exec_lib.h
- 16211 2762 82.9% 25-Jun-00 18:36:44 +intuition_lib.h
- 411 219 46.7% 25-Jun-00 18:36:44 +dos.h
- 338 185 45.2% 25-Jun-00 18:36:44 +exec.h
- 384 201 47.6% 25-Jun-00 18:36:44 +intuition.h
- 652 474 27.3% 25-Jun-00 18:36:44 +example.libraryGCC
- 1048 669 36.1% 25-Jun-00 18:36:44 +example.libraryMAXON3
- 1048 674 35.6% 25-Jun-00 18:36:44 +example.libraryMAXON4
- 616 451 26.7% 25-Jun-00 18:36:44 +example.librarySAS
- 864 563 34.8% 25-Jun-00 18:36:44 +example.libraryStorm
- 748 546 27.0% 25-Jun-00 18:36:44 +example.libraryVBCC
- 1315 634 51.7% 25-Jun-00 18:36:44 +examplefuncs.c
- 2634 860 67.3% 25-Jun-00 18:36:44 +libinfo.h
- 7260 2209 69.5% 25-Jun-00 18:36:44 +libinit.c
- 510 237 53.5% 25-Jun-00 18:36:44 +makefile.gcc
- 295 129 56.2% 25-Jun-00 18:36:44 +makefile.Maxon
- 546 257 52.9% 25-Jun-00 18:36:44 +makefile.Storm
- 489 225 53.9% 25-Jun-00 18:36:44 +makefile.vbcc
- 628 342 45.5% 25-Jun-00 18:36:44 +project.MaxonCPP4
- 1566 563 64.0% 25-Jun-00 18:36:44 +project.StormC.ΒΆ
- 1390 534 61.5% 25-Jun-00 18:36:44 +SDI_compiler.h
- 2454 663 72.9% 25-Jun-00 18:36:44 +SMakeFile
- 2746 1236 54.9% 25-Jun-00 18:36:44 +ReadMe
- 1692 1190 29.6% 25-Jun-00 18:36:44 +Test
- 1328 621 53.2% 25-Jun-00 18:36:44 +Test.c
- -------- ------- ----- --------- --------
- 225865 52405 76.7% 28-Jun-100 20:27:30 42 files
-